package com.sgzn.sgpay.service.tcp;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * Created by xxjs-gd-llf
 * DATETIME:2018/4/21 19:11
 * Description:
 */
public class TcpStartupServlet extends HttpServlet {
    private static final long serialVersionUID = 1L;
    private SgTcpServer sgTcpServer= new SgTcpServer();

    public TcpStartupServlet(){
    }

    @Override
    public void init(){
        sgTcpServer.init();
    }

    @Override
    public void doGet(HttpServletRequest httpservletrequest, HttpServletResponse httpservletresponse)
            throws ServletException, IOException {
    }

    public void destory(){

    }
}

